The code of THE BEAUTIFUL ONES
#include "the_beautiful_ones.h"
void survive();
void THE_BEAUTIFUL_ONES(int N, Mouse mice[], Person people[], STATUS current_status, Death death){
if (!has_engaged_in_sex(mice) &&
!has_engaged_in_fight(mice)) {
_log("A beautiful exhibit of the species");
int i;
for (i = 0 ; i < N ; ++i){
mice[i].eyes = "keen alert";
mice[i].body = "healthy well-kept";
}
}
if (!can_cope_with(mice, UNUSUAL_STIMULI)){
_log("These mice however could not cope with unusual stimuli.");
}
call(people, "THE BEAUTIFUL ONES");
survive();
_define(MORTALITY_BODILY_DEATH, SECOND_DEATH);
_define(DRASTIC_REDUCTION_OF_MORTALITY, _DEATH_(SECOND_DEATH));
if(_get(DRASTIC_REDUCTION_OF_MORTALITY) == death * death) {
_log("Drastic reduction of mortality = (Death)2");
}
if (current_status == death * death) {
current_status = DISSOLUTION_OF_SOCIAL_ORGANIZATION;
}
_define(DISSOLUTION_OF_SOCIAL_ORGANIZATION, _DEATH_(ESTABLISHMENT));
if (current_status == _DEATH_(ESTABLISHMENT)) {
current_status = SPIRITUAL_DEATH;
}
_define(SPIRITUAL_DEATH, LOSS_OF_CAPACITY_TO_ENGAGE_IN_BEHAVIOURS_ESSENTIAL_TO_SPECIES_SURVIVAL);
_define(LOSS_OF_CAPACITY_TO_ENGAGE_IN_BEHAVIOURS_ESSENTIAL_TO_SPECIES_SURVIVAL, FIRST_DEATH);
if (death * death == _get(FIRST_DEATH)) {
_log("(Death)2 = the first death");
}
}
void survive() {
make_important_decisions();
implement_careful_planning();
}